﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication2
{
    class stat
    {
        public List<Perf> _avgturnofdeath = new List<Perf>();
        private List<int> _nbturns = new List<int>();

        public void addStat(Perf aver)
        {
            _avgturnofdeath.Add(aver);
        }

        public void affStat()
        {
            Console.WriteLine("------------------------------------");
            for (int i = (this._avgturnofdeath.Count - 1); i >= 0 && this._avgturnofdeath.Count != 0; i--)
            {
                Console.WriteLine(i.ToString() + "-" + _avgturnofdeath[i]._lifeTime);
            }
            Console.WriteLine("------------------------------------");
        }
    }
}
